package com.graduate.exception;


public enum TijianExceptionEnum {
    SYSTEM_ERROR(203,"操作异常");

    /**
     * 枚举类中定义了使用的异常编码和提示信息
     */

    private Integer code;
    private String message;

    TijianExceptionEnum(Integer code,String message){
        this.code=code;
        this.message=message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}